package preferences;

/**
 * @authors Owen Phelan
 *-------------------------------------------------------------------
 * Preferences.java: Subsystem in charge of allowing the user to edit different 
 * properties of the computer simulator.
 *------------------------------------------------------------------
 */

public class Preferences {

	//private global variables
	private  boolean SystemStatus;	
	
	private String user;
	private String pass;
	private String url;
	private String port;
	private String rdf;
	private boolean luas;
	private boolean calendar;
	private boolean proxy;
	private boolean bonjour;
	private boolean ubisense;
	
	//constructor
	public Preferences(String user, String pass, String url, String port, String rdf, boolean luas, boolean calendar, boolean proxy, boolean bonjour, boolean ubisense){
		this.user = user;
		this.pass = pass;
		this.url = url;
		this.port = port;
		this.rdf = rdf;
		this.luas = luas;
		this.calendar = calendar;
		this.proxy = proxy;
		this.bonjour = bonjour;
		this.ubisense = ubisense;
	}
	
	public Preferences(){}

	public boolean isSystemStatus() {
		return SystemStatus;
	}

	public void setSystemStatus(boolean systemStatus) {
		SystemStatus = systemStatus;
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public String getPass() {
		return pass;
	}

	public void setPass(String pass) {
		this.pass = pass;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getPort() {
		return port;
	}

	public void setPort(String port) {
		this.port = port;
	}

	public String getRdf() {
		return rdf;
	}

	public void setRdf(String rdf) {
		this.rdf = rdf;
	}

	public boolean isLuas() {
		return luas;
	}

	public void setLuas(boolean luas) {
		this.luas = luas;
	}

	public boolean isCalendar() {
		return calendar;
	}

	public void setCalendar(boolean calendar) {
		this.calendar = calendar;
	}

	public boolean isProxy() {
		return proxy;
	}

	public void setProxy(boolean proxy) {
		this.proxy = proxy;
	}

	public boolean isBonjour() {
		return bonjour;
	}

	public void setBonjour(boolean bonjour) {
		this.bonjour = bonjour;
	}

	public boolean isUbisense() {
		return ubisense;
	}

	public void setUbisense(boolean ubisense) {
		this.ubisense = ubisense;
	}
	
}